All Questions
2 questions
27votes
4answers
27kviews
Data Oriented Design - impractical with more than 1-2 structure "members"?
The usual example of Data Oriented Design is with the Ball structure: struct Ball { float Radius; float XYZ[3]; }; and then they make some algorithm that iterates a std::vector<Ball> vector....
36votes
10answers
87kviews
What is the point of using lists over vectors, in C++?
I've run 3 different experiments involving C++ lists and vectors. Those with vectors proved more efficient, even when a lot of insertions in the middle were involved. Hence the question: in which ...